﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace G28BS.Models
{

    public class Game
    {
        public int gameID { get; set; }
        public string name { get; set; }
        public int minPlayers { get; set; }
        public int maxPlayers { get; set; }
        public int category { get; set; }
        public bool playableCPU { get; set; }
        public string shortDescription { get; set; }
        public string longDescription { get; set; }
        public string rules { get; set; }
        public string playingTime { get; set; }
        [InverseProperty("Game")] 
        public virtual ICollection<GameRoom> gameRooms { get; set; }
        public string screenshot { get; set; }
        public string video { get; set; }
        public string icon { get; set; }
    }
}